﻿// <copyright file="IKingCleaner.cs" company="Ecole Normale Supérieure">
// Released under GPLv2
// </copyright>
// <summary>Contains the IKingCleaner Interface</summary>

namespace Sqwarea.GameLogic
{
    /// <summary>
    /// An interface that is used to clean out-dated logs and attacks from the persistence
    /// </summary>
    public interface IKingCleaner
    {
        /// <summary>
        /// If this is a real king, clean logs, incoming and ongoing attacks for a king from the persistence
        /// Otherwise, verify that 
        /// </summary>
        /// <param name="kingId">The Id of the king to perform cleaning</param>
        void CleanKing(long kingId);
    }
}
